import request from '@/utils/request'

export const EXPORT_URL = '/system/finance/exportuserrefund'

// // 查询列表
export function listRefund(query) {
  return request({
    url: '/system/finance/showuserrefund',
    method: 'post',
    params: query
  })
}

// // 修改
// export function updateRefund(data) {
//   return request({
//     url: '/system/finance/edituserrefund',
//     method: 'post',
//     data: data
//   })
// }

// 查询列表
export function listEaCarUserRefund(query) {
  return request({
    url: '/system/eaUserRefund/list',
    method: 'get',
    params: query
  })
}

// 退款审核
export function refundAudit(data) {
  return request({
    url: '/system/eaUserRefund/refundAudit',
    method: 'post',
    data: data
  })
}
